﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace Jogo_Grupo2.Elementos
{
    class EnergyBar
    {
        Texture2D boxTexture = null;
        Texture2D energyTexture = null;
        Vector2 boxPosition;
        Vector2 energyPosition;
        public float MaxEnergy
        {
            get { return this.MaxEnergy; }
            set { this.MaxEnergy = value; }
        }
        private float maxEnergy = 100.0f;

        public float Energy
        {
            get { return this.energy; }
            set { this.energy = MathHelper.Clamp(value, 0, maxEnergy); }
        }
        float energy = 100.0f;

        Color emptyEnergyColor = Color.White;
        Color fullEnergyColor = Color.White;


        public EnergyBar(Texture2D boxTexture, Texture2D energyTexture, Vector2 boxPosition, Vector2 energyPosition, Color color)
        {
            this.boxTexture = boxTexture;
            this.energyTexture = energyTexture;
            this.boxPosition = boxPosition;
            this.energyPosition = energyPosition;


        }


    }

}
